package com.zsk.mybaits.demo.dao;

import com.zsk.mybaits.demo.entity.attrInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttrInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(attrInfo record);

    int insertSelective(attrInfo record);

    attrInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(attrInfo record);

    int updateByPrimaryKey(attrInfo record);

    int batchInsert(List<attrInfo> records);

    int batchInsertSelective(@Param("records") List<attrInfo> records, @Param("columns") String ... columns);
}